package com.robinmouren.service;

import com.robinmouren.dto.SplitRouteDto;
import com.robinmouren.entity.SplitRoute;
import com.baomidou.mybatisplus.extension.service.IService;
import com.robinmouren.entity.SplitRouteList;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Robinmouren
 * @since 2024-05-23
 */
public interface ISplitRouteService extends IService<SplitRoute> {


    /**
     * 保存拆分后的路线信息
     * @param dto
     */
    void saveRoute(SplitRouteDto dto);


    /**
     * 根据订单号获取拆分后的路线信息
     * @param orderNumber
     * @return
     */
    List<SplitRouteList> getByNum(String orderNumber);
}
